// 菜单数据
export const menuData =[
    {
        id: "1",
        title: "首页",
        path: "/layout/home"
    },
    {
        id: "2",
        title: "轮播图管理",
        children: [
            {
                id: "2-1",
                title: "轮播图列表",
                path: "/layout/swipers"
            }
        ]
    },
    {
        id: "3",
        title: "账号管理",
        children: [
            {
                id: "3-1",
                title: "管理员列表",
                path: "/layout/zhanghao"
            }
        ]
    },
    {
        id: "4",
        title: "产品管理",
        children: [
            {
                id: "4-1",
                title: "产品列表",
                path: "/layout/chanpin"
            },
            {
                id: "4-2",
                title: "秒杀列表",
                path: "/layout/miaosha"
            },
            {
                id: "4-3",
                title: "推荐列表",
                path: "/layout/tuijian"
            },
            {
                id: "4-4",
                title: "筛选列表",
                path: "/layout/shaixuan"
            }
        ]
    },
    {
        id: "5",
        title: "数据可视化",
        children: [
            {
                id: "5-1",
                title: "echarts使用",
                path: "/layout/echarts"
            }
        ]
    },
    {
        id: "6",
        title: "编辑器",
        children: [
            {
                id: "6-1",
                title: "编辑器使用",
                path: "/layout/bianji"
            }
        ]
    },
    {
        id: "7",
        title: "Excel管理",
        children: [
            {
                id: "7-1",
                title: "Excel使用",
                path: "/layout/excel"
            }
        ]
    },
    {
        id: "8",
        title: "地图管理",
        children: [
            {
                id: "8-1",
                title: "百度地图",
                path: "/layout/map"
            }
        ]
    }
]


// 路由数据
export const routerData = [
    {
        id:"1",
        name:"homer",
        path:"",
        redirect:"/layout/home"
    },
    // {
    //     id:"1",
    //     name:"home",
    //     path:"home",
    //     component:()=>import("@/views/home/Index.vue")
    // },
    {
        id:"2-1",
        name:"swipers",
        path:"swipers",
        component:()=>import("@/views/swipers/Index.vue") 
    },
    {
        id:"3-1",
        name:"zhanghao",
        path:"zhanghao",
        component:()=>import("@/views/zhanghao/Index.vue") 
    },
    {
        id:"4-1",
        name:"chanpin",
        path:"chanpin",
        component:()=>import("@/views/chanpin/ChanPin.vue") 
    },
    {
        id:"4-2",
        name:"miaosha",
        path:"miaosha",
        component:()=>import("@/views/chanpin/MiaoSha.vue") 
    },
    {
        id:"4-3",
        name:"shaixuan",
        path:"shaixuan",
        component:()=>import("@/views/chanpin/ShaiXuan.vue") 
    },
    {
        id:"4-4",
        name:"tuijian",
        path:"tuijian",
        component:()=>import("@/views/chanpin/TuiJian.vue") 
    },
    {
        id:"5-1",
        name:"echarts",
        path:"echarts",
        component:()=>import("@/views/echarts/Index.vue") 
    },
    {
        id:"6-1",
        name:"bianji",
        path:"bianji",
        component:()=>import("@/views/bianji/Index.vue") 
    },
    {
        id:"7-1",
        name:"excel",
        path:"excel",
        component:()=>import("@/views/excel/Index.vue") 
    },
    {
        id:"8-1",
        name:"map",
        path:"map",
        component:()=>import("@/views/map/Index.vue") 
    }
]